package com.hpjpw.idoapp.domain;

import javax.validation.constraints.NotBlank;

/**
 * @BelongsProject: RuoYi-IDo
 * @BelongsPackage: com.hpjpw.idoapp.domain
 * @Author: hpj
 * @CreateTime: 2021-01-08 10:09
 * @Description: 更改密码表单
 */
public class UserUpdatePwdVo {
    String oldPassword;
    String newPassword;

    @NotBlank(message = "旧密码不能为空")
    public String getOldPassword() {
        return oldPassword;
    }

    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }

    @NotBlank(message = "新密码不能为空")
    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }
}
